﻿using Salesman;

namespace Plan
{
    public struct GroupSubject
    {
        public int Group;
        public int Subject;

        public int Time;
        public int Classroom;
        /// <summary>
        ///  v &lt; MeaningFullElements
        /// </summary>
        //public bool IsTimeUsed;
        public int Day;
        public int Teacher;
        public bool IsValid;
        public bool IsTimeUsed;
        public int TimeOfDay;

        public override string ToString()
        {
            return string.Format("(g{0}, t{1}, s{2}, c{3}, day{4}, time{5}, {6}, {7})", Group, Teacher, Subject, Classroom, Day, Time, IsValid ? "" : "INV", IsTimeUsed ? "" : "OUT");
        }
    }
}
